﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Unit2session3a.aspx.vb" Inherits="gdrwebapp1.Unit3sessiona" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <br />
    </p>
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
            <Columns>
                <asp:BoundField DataField="Hotel_Name" HeaderText="Hotel_Name" SortExpression="Hotel_Name" />
                <asp:HyperLinkField DataNavigateUrlFields="hotelurl" DataNavigateUrlFormatString="{0}" DataTextField="Hotelurl" HeaderText="Hotel Link" />
                <asp:BoundField DataField="Hotel_Description" HeaderText="Hotel_Description" SortExpression="Hotel_Description">
                </asp:BoundField>
                <asp:BoundField DataField="Hotel_Location" HeaderText="Hotel_Location" SortExpression="Hotel_Location" />
                <asp:BoundField DataField="Hotel_Details" HeaderText="Hotel_Details" SortExpression="Hotel_Details" />
                <asp:BoundField DataField="HotelLink" HeaderText="HotelLink" SortExpression="HotelLink" />
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString3 %>" ProviderName="<%$ ConnectionStrings:ConnectionString3.ProviderName %>" SelectCommand="SELECT [Hotel Name] AS Hotel_Name, [Hotel Description] AS Hotel_Description, [Hotel Location] AS Hotel_Location, [Hotel Details] AS Hotel_Details, [HotelLink], [Hotel Image] AS Hotel_Image, [Hotelurl] FROM [tbl1]"></asp:SqlDataSource>
    </p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
</asp:Content>
